import java.util.Random;
public class pp3_8
{
  public static void main(String []args)
  {
  Random a = new Random();
  int c;
  double d,e,f;

  c = a.nextInt(21)+20;
  
  d = Math.cos(c);
  e = Math.sin(c);
  f = Math.tan(c);
  System.out.println("随机数:"+c);
  System.out.println("随机数的余弦:"+d);
  System.out.println("随机数的正弦:"+e);
  System.out.println("随机数的正切:"+f);
  }
}  
